package com.ymjspace.Service.impl;

import com.ymjspace.Service.UserService;
import com.ymjspace.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Description
 * @Author YMJ
 * @DateTime 2020-10-04 12:36
 * @Version V1.0.0
 */
@Service
public class UserServiceImpl implements UserService {

    @Autowired
    UserMapper userMapper;

    @Override
    public String getUser(String userName) {
        return userMapper.searchUser(userName);
    }
}
